#include "camera.h"
#include "base.h"
void useCamera() {
    //读取视频或摄像头
    VideoCapture capture(0);

    while (true) {
        Mat frame;
        capture >> frame;
        Mat dst;
        separateGaussianFilter(frame,dst,9, 20);
        imshow("camera", frame);
        imshow("gaussian filter", dst);
        waitKey(3);    //延时30
    }
}
